package com.geqian.web.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.geqian.web.pojo.SimpleMenu;
import com.geqian.web.pojo.MenuQuery;
import com.geqian.web.entity.Menu;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【sys_menu(菜单表)】的数据库操作Mapper
 * @createDate 2023-04-09 17:19:22
 * @Entity com.geqian.evalution.teachingevalution.entity.Menu
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> selectMenuList(MenuQuery menuQuery);

    List<SimpleMenu> selectDirMenuList(Long userId);

    List<SimpleMenu> selectComponentMenuList(Long userId);

    Long insertReturnMenuId(Menu menu);

}




